### USU Rounded Fog GTK theme ###
#Authors: Svetoslav Stefanov, Krasimir Stefanov
#License: GPLv3

gtk_color_scheme = "base_color:#FFFFFF\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#418bd4\nselected_fg_color:#ffffff\ntext_color:#343434\nbg_color:#CDCCCC\ntooltip_bg_color:#f2f2f2\nframe_color:#C9C9C9\ninactive_frame_color:#C9C9C9\nlink_color:#0062dc\nvisited_link_color:#8c00dc"

#gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16:gtk-large-toolbar=24,24" 
gtk-icon-sizes	= "gtk-button=16,16" # This makes button icons smaller.
gtk-icon-sizes	= "panel-menu=22,22" # This makes icons in panel's menu-items smaller.
gtk-icon-sizes	= "gtk-large-toolbar=22,22:gtk-small-toolbar=16,16" # This makes toolbar icons smaller.
gtk-icon-sizes	= "gtk-dialog=32,32"
gtk-icon-sizes	= "gtk-dnd=32,32"
gtk-icon-sizes	= "gtk-button=16,16"
gtk-button-images	= 0 # Enables or disables icons on buttons (OS X-like).
gtk-menu-popup-delay	= 1 # Makes menus pop up faster! Set to 1 instead of 0 to avoid Banshee 1 bug.
gtk-auto-mnemonics = 1
# so that we can use pulsation on windows that need attention
gtk-enable-animations = 1   
# This value has to be less than 990 for Rhythmbox to work (tooltips updating in 1sec intervals)
gtk-tooltip-timeout = 970

style "murrine-default"
{
	GtkImage::x-ayatana-indicator-dynamic = 1
	GtkButton::child-displacement-x = 0
	GtkButton::child-displacement-y = 1
	GtkButton::default-border = { 0, 0, 0, 0 }
    	GtkButton::inner-border = {0, 0, 0, 0}
#	GtkButton::button-relief 		       	 = GTK_RELIEF_NONE

	GtkCheckButton::indicator-size = 13
  	GtkCheckButton ::indicator-spacing = 1
	GtkRadioButton::indicator-size = 13
	GtkPaned::handle-size = 4

	GtkWidget::focus-line-width = 0
	GtkWidget::focus-padding = 0
  	GtkWidget::link-color = @link_color
	GtkWidget::visited-link-color = @visited_link_color
	GtkWidget::new-tooltip-style = 1
	GtkWidget::cursor-aspect-ratio = 0.05

	GnomeHRef::link_color = @link_color		
	GtkIMHtml::hyperlink-color = @link_color
	GtkHTML::link-color = @link_color
 	GtkIMHtmlr::hyperlink-color = @link_color
	GtkIMHtml::hyperlink-color = @link_color
	GtkHTML::cite_color = "#8B3E2F"

  	GtkRange::trough-border = 0
  	GtkRange::slider-width = 14
  	GtkRange::stepper-size = 13
	GtkRange::trough-under-steppers = 1

	GtkScale::slider-length =14
	GtkScale::slider-width = 14
	GtkScale::trough-side-details = 0
  	GtkScale::trough-border = 0

	GtkScrollbar::min-slider-length = 30
  	GtkScrollbar::has-secondary-backward-stepper = 0
    	GtkScrollbar::activate-slider = 1
	GtkScrollbar::slider-width = 14
	GtkScrollbar::has-backward-stepper = 1  
	GtkScrollbar::has-forward-stepper = 1
	GtkScrollbar::trough-border = 0
	GtkScrollbar::trough-side-details = 1

	GtkScrolledWindow::scrollbar-spacing = 0
	GtkScrolledWindow::scrollbars-within-bevel  = 0
 	#GtkScrolledWindow::shadow_type = GTK_SHADOW_ETCHED_IN

	GtkMenuBar::internal-padding = 0
	GtkMenuBar::window-dragging = 1
	GtkMenuBar::shadow-type = GTK_SHADOW_NONE  # remove horizontal line
	#GtkMenuBar::button-relief = GTK_RELIEF_NONE

	GtkExpander::expander-size = 11

	GtkToolbar::internal-padding = 0
	GtkToolbar::shadow-type = GTK_SHADOW_NONE  # remove horizontal line
	GtkToolbar::space-size = 6

	GtkMenu::horizontal-padding = 0
	GtkMenu::vertical-padding = 0
	GtkMenu::horizontal-offset = -1

	WnckTasklist::fade-overlay-rect = 0
  	WnckTasklist::fade-loop-time = 5.0 # 5 seconds
  	WnckTasklist::fade-opacity = 0.5 # final opacity

	GtkDialog::action-area-border = 2
	GtkDialog::button-spacing = 3
	GtkDialog::content-area-border = 1

	GtkTreeView::expander-size = 13
	GtkTreeView::vertical-separator = 0
	GtkTreeView::tree-line-pattern    =  "\1\1" 
	GtkTreeView::tree-line-width      = 1
	GtkTreeView::grid-line-pattern    = "\1\1" 
	GtkTreeView::grid-line-width      = 1
  	GtkTreeView::horizontal_separator = 2
  	color["odd_row_color"] = mix(0.98, shade (0.93,@base_color), @selected_bg_color)
  	GtkTreeView::odd_row_color = @odd_row_color
    	GtkTreeView::indent-expanders = 1
	
  	GtkNotebook::tab-curvature = 3
  	GtkNotebook::tab-overlap = -2

  	GtkMenuItem::arrow-spacing = 10
  	#Spacing between edge with indicator and text
  	GtkOptionMenu  ::indicator-size = {11, 5}
  	#GtkOptionMenu  ::indicator-spacing = {6, 5, 4, 4}

	# The following line hints to gecko (and possibly other appliations)
	# that the entry should be drawn transparently on the canvas.
	# Without this, gecko will fill in the background of the entry.
	GtkEntry::honors-transparent-bg-hint = 1
        GtkEntry::progress-border = { 2, 2, 2, 2 }
    	GtkEntry::inner-border = {1, 1, 1, 1}
 	GtkEntry::cursor_color = @text_color
	GtkEntry::state-hint = 0

	GtkProgressBar::min-horizontal-bar-height = 10 #was 14
	GtkProgressBar::min-vertical-bar-width = 10 #was 14

  	GtkTextView::cursor_color = @text_color

	GtkStatusbar::shadow-type = GTK_SHADOW_NONE  # remove horizontal line
    	
	GtkSpinButton::shadow_type			 = GTK_SHADOW_NONE
    	GtkSpinButton::inner-border	       	 = {0, 0, 0, 0}

	#GtkColorButton::default_border		 = {0, 0, 0, 0}

	GimpColorNotebook::tab-border 	      = 1
	GimpDockSeparator::height     	      = 10

	GtkComboBox::appears-as-list = 0

	NautilusIconContainer::highlight_alpha= 120
	
	# The rect. when you drag the mouse to select several files
	NautilusIconContainer::selection_box_color = @bg_color
	NautilusIconContainer::selection_box_alpha = 60

	BonoboUiToolbar::shadow-type = GTK_SHADOW_NONE
	
	GtkWindow::resize-grip-height = 0
	GtkWindow::resize-grip-width = 0

	xthickness = 2
	ythickness = 2

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = @fg_color
	fg[INSENSITIVE]   = darker (@bg_color)

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[SELECTED]	  = @selected_bg_color
	bg[INSENSITIVE]   = @bg_color
	bg[ACTIVE]        = shade (1.04, @bg_color)

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = shade (0.95, @bg_color)
	base[ACTIVE]      = shade (0.92, @selected_bg_color)
	base[SELECTED]    = shade (0.93, @selected_bg_color)
	base[INSENSITIVE] = @bg_color

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @selected_fg_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = darker (@bg_color)

	engine "murrine" 
	{
		animation           = TRUE
		colorize_scrollbar  = FALSE
		contrast            = 1.2   # 0.8 for less contrast, more than 1.0 for more contrast on borders
		glazestyle          = 0     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
		gradient_shades     = {1.15,1.05,1.04,0.9} # default: {1.1,1.0,1.0,1.1}
		glowstyle	    = 4
		highlight_shade     = 1.0  # set highlight amount for buttons or widgets
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
		listviewheaderstyle = 2     # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle       = 0     # 0 = nothing, 1 = dotted, 2 = solid line
		menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
		menubarstyle        = 2     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle       = 0     # 0 = flat, 1 = glassy, 2 = striped
		menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
		reliefstyle	    = 1     # 0 = flat, 1 = inset, 2 = shadow
		rgba		    = FALSE  # FALSE = disabled, TRUE = enabled
		roundness           =  3    # 0 = squared, 1 = old default, more will increase roundness
		scrollbarstyle      = 2     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		sliderstyle         = 0     # 0 = nothing added, 1 = handles
		stepperstyle        = 3     # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		toolbarstyle	    = 0    # 0 = flat, 1 = glassy, 2 = gradient
		arrowstyle          = 1
		trough_shades       = { 0.85, 1.0 }
		border_shades = {  .8, .5 }
		glow_shade =1.0
		border_colors = FALSE
		comboboxstyle = 1
#		disable_focus = TRUE # TRUE to disable focus drawing
#		gradient_colors = { "#ffffff", "#ffffff", "#ffffff", "#ffffff" } # Set the colors used on the gradient of many widgets. = FALSE to disable
		separatorstyle = 1 # = 1 to draw smooth separators
#		textstyle = 1
#		text_shade = 1.0
#		spinbuttonstyle = 1 # = 1 to add a separator on the GtkSpinButton
#      		prelight_shade      = 0.95  # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
		shadow_shades		= { 2.0, 1.0 }
#		cellstyle = 0 #remove the border around the selected cell.
		expanderstyle =1 # 0 to draw arrows; 1 to draw circles with plus and minus; 2 to draw buttons with plus and minus
		focusstyle = 3 # 0 to disable focus drawing; 1 to use dots; 2 to use a small colored rectangle; 3 to use a colored rectangle that touches the borders
		default_button_color = shade (1.1, @selected_bg_color)
	}
}

style "elementary-dark"
{
	base[NORMAL]		= "#444444"

	bg[NORMAL]		= "#444444"
	bg[ACTIVE]		= "#434241"
	bg[PRELIGHT]		= "#4D4D4D"

	fg[NORMAL]              = "#D6D6D6"
	fg[PRELIGHT]            = "#D6D6D6"

	text[NORMAL]      	= "#D6D6D6"
	text[PRELIGHT]    	= "#D6D6D6"
	text[ACTIVE]      	= "#D6D6D6"
	text[SELECTED]   	= "#D6D6D6"
	text[INSENSITIVE]	= "#4D4D4D"
}

style "murrine-thin"
{
	xthickness = 0
	ythickness = 0
}

style "murrine-wide" = "murrine-default"
{
	xthickness = 2
	ythickness = 2

	bg[NORMAL]		= @bg_color
	bg[SELECTED]		= @selected_bg_color
}

style "murrine-wider"
{
	xthickness = 3
	ythickness = 3

	bg[SELECTED]		= @selected_bg_color
}

style "murrine-button" = "murrine-wider"
{
	bg[NORMAL]      = shade (1.2, @bg_color)
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (0.80, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)
	
	engine "murrine" {
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = { @bg_color, @bg_color}
		roundness = 3
		textstyle	= 1
		contrast	= 1.4
		reliefstyle	= 4
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
	}
}

style "aurora-button" = "murrine-wider"
{
	bg[NORMAL]      = shade (1.15, @bg_color)
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (0.80, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)

	engine "aurora" {
		curvature	= 3.0
		old_arrowstyle  = FALSE
		animation       = TRUE
	}
}

style "pixmap-button" = "murrine-wider"
{
	bg[NORMAL]      = shade (1.15, @bg_color)
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (0.80, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)

 engine "pixmap"
  {
    image
    {
      function			= BOX
      detail				= "buttondefault"
      recolorable		= TRUE
      file				= "Buttons/button-default.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state				= PRELIGHT
      recolorable		= TRUE
      file				= "Buttons/button-prelight.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state				= ACTIVE
      file				= "Buttons/button-pressed.png"
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
    }	
    image 
   {
     function			= BOX
     state				= INSENSITIVE
     file					= "Buttons/button-insensitive.png"
     border			= { 5, 5, 5, 5 }
     stretch			= TRUE
    }
    image 
    {
      function			= BOX
      file				= "Buttons/button-normal.png"		
      border			= { 5, 5, 5, 5 }
      stretch			= TRUE
     }	
  }
}

style "aurora-entry"
{
	xthickness = 4


	engine "aurora" {
		curvature	= 3.0
		old_arrowstyle  = FALSE
		#animation       = TRUE
	}

}

style "notebook_bg" {
	bg[NORMAL] = shade (1.02, @bg_color)
	bg[ACTIVE] = shade (0.97, @bg_color)
	fg[ACTIVE] = mix (0.8, @fg_color, shade (0.97, @bg_color))
}


style "murrine-notebook" = "murrine-default"
{		
	bg[NORMAL]		= shade (1.055, @bg_color)		# selected tab entire
	bg[ACTIVE]		= shade (0.85, @bg_color)		# unselected tab
	fg[ACTIVE] = mix (0.7, @fg_color, shade (0.97, @bg_color))
	#xthickness = 1
	#ythickness = 1
	engine "murrine" {
		roundness = 3
		contrast = 1.1
		lightborder_shade = 1.50
		gradient_shades     = {0.9,1.0,1.0,2.0}
	}
}

style "notebook-close"
{
#stock["gtk-close"]	= {{ "Tabs/button-close.png", *, *, * }}	# Prettier Close icon
}

style "murrine-tasklist" = "murrine-wide"
{
}

style "murrine-menu" = "murrine-default"
{
	xthickness = 4
	ythickness = 2
	GtkMenu::horizontal-offset	= -1
	GtkMenu::horizontal-padding	= 0
	GtkMenu::vertical-padding	= 0
	fg[PRELIGHT]		= @selected_fg_color
	fg[SELECTED]		= @selected_fg_color
	fg[ACTIVE]		= @fg_color
	fg[INSENSITIVE]		= darker (@bg_color)
	bg[PRELIGHT]	= mix(0.73, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	engine "murrine" {
roundness =2
contrast = 1.0
	}
}

style "murrine-menu-item"
{
	xthickness = 0
	ythickness = 2

	GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
	GtkMenuItem::horizontal-padding		= 5
	GtkMenuItem::toggle-spacing		= 6


	bg[SELECTED] 		= @bg_color
	fg[PRELIGHT] 		= @fg_color		


	engine "murrine" {	
	roundness 		= 2
	contrast 		= 1.0
	#textstyle 		= 3
	#text_shade		= 1.1
	glow_shade 		= 1.35
	glowstyle 		= 1
	lightborder_shade   	= 1.0
	gradient_shades     = {0.8,0.95,0.97,1.08}
	border_shades 		= {0.7, 1.7}
}
}

style "aurora-menu-item" = "murrine-wider"
{
	xthickness = 0
	ythickness = 0

	GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
	GtkMenuItem::horizontal-padding		= 5
	GtkMenuItem::toggle-spacing		= 6


	bg[SELECTED] 		= @bg_color
	fg[PRELIGHT] 		= @fg_color		


	engine "aurora" {
		curvature	= 1.0
		arrowsize	= 1.0
		#animation       = TRUE
	}
}

style "murrine-separator-menu-item"
{
	ythickness = 1
	xthickness = 1
    	engine "pixmap" 
	{
	image 
	{
       	function        = HLINE
	recolorable     = TRUE
	file            = "Menu/menu-line.png"
	stretch         = TRUE
	}
    }
}



style "murrine-treeview"
{
	bg[SELECTED] = @selected_bg_color
	engine "murrine" {
	contrast = 0.8
        	roundness   = 0
        	border_shades       = { 1.25, 1.05 }
        	#gradient_shades     = {1.15, 0.95, 1.15, 0.95}
	}
}

style "murrine-treeview-header" = "murrine-default"
{
	bg[NORMAL]      = shade (1.08, @bg_color)
	bg[PRELIGHT]    = shade (1.45, @selected_bg_color)
	bg[ACTIVE]      = shade (0.92, @bg_color)
	bg[INSENSITIVE] = shade (1.04, @bg_color)

	engine "murrine" {
        contrast = .8
        gradient_shades     = {1.3, 1.1, 1.3, 1.1}
	}
}

style "murrine-frame-title"
{
	fg[NORMAL] = lighter (@fg_color)
}

style "murrine-tooltips" = "murrine-wider"
{
	bg[NORMAL] = "#252525" #bg color
	fg[NORMAL] = "#D5D5D5" #text color
	bg[SELECTED] = "#252525" #border
	engine "murrine" {
		rgba = TRUE
	}
}

style "murrine-progressbar" = "murrine-thin"
{
	xthickness = 0
	ythickness = 0

	bg[ACTIVE] = shade (0.94, @bg_color)
	fg[PRELIGHT] = @selected_fg_color
	bg[SELECTED] = shade (1.45, @selected_bg_color)

	engine "murrine" {
		roundness = 3
		lightborder_shade   = 1.0
		lightborderstyle   = 0
		progressbarstyle = 0
		border_colors	    = { @bg_color, @bg_color}
        	glazestyle          = 0     # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
        	glow_shade          = 1.2   # sets glow amount for buttons or widgets
		trough_border_shades = {0.9, 1.4}
		contrast = 1.0
		gradient_shades     = {0.6,0.8,0.8,0.6}
		border_shades 		= {0.8, 1.0}
		glowstyle 		= 1
	}
}
style "murrine-toolbar" 
{
	bg[NORMAL]        = @bg_color
	engine "murrine" {
		contrast  = 0.0
		#gradient_shades     = {1.3,1.0,1.,1.3}
	}

}

style "aurora-statusbar" = "murrine-default"
{
	ythickness				= 0
	font_name 	                  = "Italic"
	engine "aurora" {
		old_arrowstyle  = FALSE
		#animation       = TRUE
	}
}

style "aurora-comboboxentry"
{
	engine "aurora" {
		curvature	= 3.0
		old_arrowstyle  = FALSE
		#animation       = TRUE
	}
}


style "aurora-spinbutton"
{
	engine "aurora" {
		curvature	= 3.0
		old_arrowstyle  = FALSE
		#animation       = TRUE
	}
}

style "aurora-scale" = "aurora-button"
{

	bg[NORMAL]      = @bg_color
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (2.0, @bg_color)
	engine "aurora" 
	{
		curvature	= 3.0
		#animation       = TRUE
	}
}

style "murrine-hscale"
{
}

style "murrine-vscale"
{
}

style "murrine-scrollbar" = "murrine-thin"
{
	GtkWidget::draw-border  = {0,0,0,0}
	#bg[ACTIVE] = shade (0.94, @bg_color)
	#bg[PRELIGHT] = mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	#bg[SELECTED] = shade (1.45, @selected_bg_color)

	bg[ACTIVE] = shade (0.94, @bg_color)	
	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.06, @bg_color)

	engine "murrine" {
		border_shades = {0.95, 0.90}
		contrast = 1.0
		trough_shades = {0.92, 0.98}
		lightborder_shade = 1.3
		glowstyle = 5
		glow_shade = 1.02
		gradient_shades = {1.2, 1.0, 1.0, 0.86}
		trough_border_shades = {0.9, 0.98}
	}

}

style "aurora-scrollbar" = "murrine-thin"
{
	engine "aurora"
	{
		curvature	= 3.0
	}
	GtkWidget::draw-border  = {0,0,0,0}
	#bg[ACTIVE] = shade (0.94, @bg_color)
	#bg[PRELIGHT] = mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	#bg[SELECTED] = shade (1.45, @selected_bg_color)

	bg[ACTIVE] = shade (0.94, @bg_color)	
	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = shade (1.06, @bg_color)
}
style "aurora-scrollbar-dark" = "aurora-scrollbar"
{
	bg[ACTIVE]		= "#666362"	# Trough color
	text[NORMAL]            = "#D6D6D6"	# Arrow color
}


style "murrine-hscrollbar"
{
}

style "murrine-vscrollbar"
{
}

style "murrine-menubar"

{
xthickness=2
ythickness=2

GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
GtkMenuItem::horizontal-padding		= 5
GtkMenuItem::toggle-spacing		= 6


	bg[SELECTED] = @bg_color
	bg[NORMAL] = @bg_color
	fg[NORMAL] = @fg_color
	fg[PRELIGHT] = @fg_color		


engine "murrine" {	
roundness 		= 2
contrast 		= 1.0
#textstyle 		= 3
#text_shade		= 1.1
glow_shade 		= 1.35
glowstyle 		= 1
lightborder_shade   	= 1.0
gradient_shades     = {0.8,0.95,0.97,1.08}
border_shades 		= {0.8, 1.8}
}
}


style "murrine-scrolledwindow"
{
xthickness=0
ythickness=0
	engine "murrine" {
		roundness	    = 3
		contrast = 0.0
	}
}

style "murrine-gtkframe"
{
	#bg[NORMAL]      = shade (1.0, @bg_color)
	engine "murrine" {
		roundness = 3
		contrast	= 1.2
	}
}

style "murrine-nautilus-location"
{
	bg[NORMAL]  = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
}

style "metacity-frame"
{
}

style "murrine-radiocheck"
{
	GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
	GtkMenuItem::horizontal-padding		= 5
	GtkMenuItem::toggle-spacing		= 6

	bg[SELECTED] 		= @bg_color
	fg[PRELIGHT] 		= @fg_color

	engine "murrine" {	
	roundness 		= 2
	contrast 		= 1.0
	#textstyle 		= 3
	#text_shade		= 1.1
	glow_shade 		= 1.35
	glowstyle 		= 1
	lightborder_shade   	= 1.0
	gradient_shades     = {0.8,0.95,0.97,1.08}
	border_shades 		= {0.7, 1.7}
}
}

style "murrine-radiobutton"
{
	GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
	GtkMenuItem::horizontal-padding		= 5
	GtkMenuItem::toggle-spacing		= 6

	bg[SELECTED] 		= @bg_color
	fg[PRELIGHT] 		= @fg_color		

	engine "murrine" {	
	roundness 		= 2
	contrast 		= 1.0
	#textstyle 		= 3
	#text_shade		= 1.1
	glow_shade 		= 1.35
	glowstyle 		= 1
	lightborder_shade   	= 1.0
	gradient_shades     = {0.8,0.95,0.97,1.08}
	border_shades 		= {0.7, 1.7}
}
}
######################## Banshee #######################


style "banshee-main"
{
#	GtkStatusbar	::shadow_type	= GTK_SHADOW_NONE
#	GtkMenubar	::shadow_type	= GTK_SHADOW_NONE
#	GtkToolbar	::shadow_type	= GTK_SHADOW_NONE
}

################### EOG (Eye of Gnome) #################

style "eog-window-base"
{
	xthickness              = 0
	ythickness              = 0

#	fg[SELECTED]            = "#D6D6D6"
#	fg[ACTIVE]              = "#D6D6D6"
#	fg[INSENSITIVE]         = "#D6D6D6"

	GtkScrolledWindow::scrollbar-spacing  = 0
	GtkWidget::shadow_type                    = GTK_SHADOW_NONE
	GtkWidget::draw_border                    = {0,0,0,0}
	GtkScrolledWindow::shadow_type            = GTK_SHADOW_NONE	
}

style "eog-statusbar"
{
	xthickness                    = 6
	ythickness                    = 4
	GtkStatusbar::shadow_type     = GTK_SHADOW_NONE	
}

####################### Nautilus #######################

style "nautilus-sidebar" {
	
	#bg[PRELIGHT]       	= mix(0.30, @bg_color, shade (1.27, @selected_bg_color))

	font_name 	                  = "Regular"

      	# These are the old values for the blue sidebar
	#GtkTreeView::odd_row_color		= mix(0.30, @bg_color, shade (1.27, @selected_bg_color))
	#GtkTreeView::even_row_color		= mix(0.30, @bg_color, shade (1.27, @selected_bg_color))

	GtkTreeView::odd_row_color		= @bg_color
	GtkTreeView::even_row_color		= @bg_color
	
	GtkPaned::handle_size                     = 1
	GtkWidget::wide_separator		  = 1
	GtkWidget::separator_width		  = 1
	GtkWidget::separator_height		  = 0
	GtkWidget::focus_line_width		  = 0
	GtkWidget::draw_border                    = {0,0,0,0}

      # these make the padding from left window edge a little more sane
	GtkTreeView::vertical_separator           = 4
	GtkTreeView::horizontal_separator         = 15
	GtkTreeView::indent-expanders             = 1 # 1 means TRUE
	GtkTreeView::expander-size                = 8
	GtkExpander::expander_spacing             = 16
	GtkButton::image_spacing                  = 4
#      	xthickness                                = 8
#	ythickness                                = 0
engine "murrine"
	{
	contrast = 0.0
	}
}

style "nautilus-view" = "murrine-default"
{
	xthickness		= 0	
}


style "nautilus-sidebar-title"
{
	# These are the old values for the blue sidebar
	#fg[NORMAL]	        = mix(0.50, shade (0.63,@bg_color), shade (0.63, @selected_bg_color))
	#fg[PRELIGHT]	        = shade (0.65, @selected_bg_color)
	#bg[PRELIGHT]       	= mix(0.30, @bg_color, shade (1.27, @selected_bg_color))

	fg[NORMAL]	        = shade (1.60, @text_color)
	fg[PRELIGHT]	        = shade (1.25, @text_color)
	bg[PRELIGHT]       	= @bg_color

	stock["gtk-close"] = {{ "Others/null.png", *, *, * }} # Get rid of the close icon

#	font_name 	                  = "semibold"

	GtkExpander::expander_spacing             = 0
        GtkArrow::arrow-scaling                   = 0.6 # allowed: 0.1 ~ 1.0 (0.6 is an approximation to get 9 by 9 pixels arrow)
        GtkButton::image-spacing                  = 0
        GtkButton::inner-border                   = {0, 0, 4, 0}
	GtkButton::child-displacement-x           = 0
	GtkButton::child-displacement-y           = 0
      # with this we'd get a tight button, with 0 pixels frame so the height matches the label plus 1 pixel (8 + 1 = 9)
	GtkButton::default-border                 = { 0, 0, 0, 0 }
	
      xthickness                                = 2
      ythickness                                = 0	
	

	
	engine "pixmap"
	{
		image
		{
			function	= SHADOW
		}
		image
		{
			function	= ARROW
			arrow_direction = DOWN
			border        = {0,0,0,0}
			stretch       = TRUE
			recolorable   = TRUE
			file		= "Others/arrow-d.png" # this should be 9x9 pixels, arrow down
		}
	}
}


style "nautilus-window-base"
{	
	#bg[NORMAL]       	= mix(0.30, @bg_color, shade (1.27, @selected_bg_color))
}

style "nautilus-handle"
{
	GtkPaned::handle-size         = 4
	engine "aurora" {
	}
}

style "nautilus-statusbar" = "murrine-toolbar"
{
	bg[NORMAL]	                  = @bg_color
	engine "aurora" {
		curvature = 3.0
		#animation       = TRUE
	}
	
}

style "smaller-text"
{
}

style "handle"
{
}
# Removing the ugly thin dark border from nautilus' sidepane
style "nautilus-sidepane"
{
  	xthickness = 0
	ythickness = 0
	#GtkTreeView::odd_row_color		= @bg_color
	#GtkTreeView::even_row_color		= @bg_color
}
widget "*Nautilus*Places*Sidebar*"        style "nautilus-sidepane"
widget_class "*Nautilus*SidePane.*"          style "nautilus-sidepane"
widget_class "*NautilusSidePane.*"              style "nautilus-sidepane"
widget_class "*Nautilus*SidePane*.GtkWidget"        style "nautilus-sidepane"
###################### GNOME PANEL ######################
#style "elementary-panel"
#{
#	xthickness		= 0
#	ythickness		= 1
#	bg_pixmap[NORMAL]	= "/Panel/panel-blue-fog.png" # Disable for normal panel backgrounds.
	#bg[ACTIVE] = shade (0.65, @selected_bg_color)	
#	bg[NORMAL]      = @bg_color
#	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
#	bg[ACTIVE]      = shade (1.2, @bg_color)
#	bg[INSENSITIVE] = shade (1.055, @bg_color)
#	engine "murrine" {
#		textstyle = 1
#		roundness = 1
#		contrast = 1.2
#		border_shades       = { .8, .5} # draw a gradient on the border.
#		border_colors	    = { @bg_color, @bg_color}
#		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
#		lightborderstyle    = 1     # 0 = lightborder on top side, 1 = lightborder on all
#	}
#}



style "elementary-panel"
{
	xthickness		= 0
	ythickness		= 1
	#bg_pixmap[NORMAL]	= "/Panel/panel-blue-fog.png" # Disable for normal panel backgrounds.
	bg[ACTIVE] = shade (0.65, @selected_bg_color)	
	bg[NORMAL]      = @bg_color
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (1.2, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)
	
	bg_pixmap[NORMAL]			= "/Panel/panel.png"
	#bg_pixmap[PRELIGHT]			= "/Panel/panel.png"
	#bg_pixmap[ACTIVE]			= "/Panel/panel.png"
	#bg_pixmap[SELECTED]			= "/Panel/panel.png"
	#bg_pixmap[INSENSITIVE]			= "/Panel/panel.png"

	engine "murrine" {
		textstyle = 1
		roundness = 1
		contrast = 1.2
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = {@bg_color, lighter (@bg_color)}
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
	}
}

style "elementary-panel-light"
{
	xthickness		= 0
	ythickness		= 1

	fg[NORMAL]	= @fg_color

	engine "murrine" {
		textstyle = 1
		roundness = 0
		
	}
}

style "elementary-panel-text"

{
	xthickness		= 0
	ythickness		= 2
	bg[NORMAL]      = shade (0.8, @bg_color)
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = @bg_color
	bg[INSENSITIVE] = shade (1.055, @bg_color)

	engine "murrine" {
		textstyle = 1
		contrast = 1.6
		contrast = 1.2
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = { @bg_color, @bg_color}
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
	}
}

style "elementary-main-menu-text" = "elementary-panel-text"
{
	xthickness		= 0
	ythickness		= 0	
	fg[PRELIGHT]	= "#ffffff"
	text[PRELIGHT]	= "#ffffff"
	engine "murrine" {
		textstyle = 1
		contrast = 1.6
		contrast = 1.2
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = { @bg_color, @bg_color}
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
	}
}

style "terminal" 
{
	text[NORMAL] = @fg_color
	base[NORMAL] = @base_color
TerminalScreen::background-darkness=1.00
}

######################### MIDORI ########################

style "midori-main"
{
	bg[NORMAL]			= shade (0.75, @bg_color)
}

style "midori-entry"
{
	ythickness			= 4
}

style "midori-notebook" = "murrine-notebook"
{
	xthickness			= 0
	ythickness			= 0

	GtkNotebook::tab-overlap	= 0

	bg[NORMAL]			= shade (1.0, @bg_color)		#foreground tab color
	bg[PRELIGHT]			= shade (0.9, @bg_color)		#close tab prelight
	bg[ACTIVE]			= shade (0.85, @bg_color)		#background tab color

	engine "murrine" {
		roundness		= 4
	}
}

style "midori-panel-toolbar"
{
	bg[NORMAL]			= shade (0.85, @bg_color)
}

########################## TOTEM ########################

style "totem-main"
{
	stock["gtk-media-pause"] = {{ "Icons/media-playback-pause.svg", *, *, * }}
	stock["gtk-media-play"] = {{ "Icons/media-playback-start.svg", *, *, * }}
	stock["gtk-media-next"] = {{ "Icons/media-skip-forward.svg", *, *, * }}
	stock["gtk-media-previous"] = {{ "Icons/media-skip-backward.svg", *, *, * }}

	stock["gtk-close"] = {{ "Icons/close.png", *, *, * }}

}

###################### TRANSMISSION #####################

style "transmission-main"
{
	engine "aurora"
	{
		curvature	= 6.0
	}
}


###################### GtkCalendar #####################

style "theme-calendar"
{
	xthickness	= 0
	ythickness	= 0

	engine "murrine"
	{
		roundness	= 0
		contrast = 0.8
	}
}

###########
# Matches #
###########
style "soundfix"
{
}

widget "ido-offscreen-scale" style "soundfix"
widget "*IdoEntryMenuItem*" style "aurora-entry"

# theme radio buttons and checkmarks
class "GtkRadio*"                        		style:highest "murrine-radiocheck" # HACK: override button selection colour
class "GtkRadioButton*"                        		style:highest "murrine-radiobutton"
class "GtkCheck*"                           		style:highest "murrine-radiocheck" # HACK: override button selection colour

# Use this to customize Metacity colours (causes issues with KDE/gtk-window-decorator)
class "MetaFrames" 					style "metacity-frame"
class "GtkWindow"    			    		style "metacity-frame"


# theme default style is applied to every widget
class "GtkWidget"    				style "murrine-default"

# Increase the x/ythickness in some widgets
class "GtkToolbar"   				style "murrine-toolbar" 
class "GtkRange"     				style "murrine-wide"
class "GtkFrame"     				style "murrine-wide"
class "GtkSeparator" 				style "murrine-wide"
class "GtkEntry"     				style "aurora-entry"

class "GtkSpinButton"  				style "aurora-spinbutton"
class "GtkScale"       				style "aurora-scale"
class "GtkVScale"      				style "murrine-vscale"
class "GtkHScale"      				style "murrine-hscale"
class "GtkScrollbar"   				style "murrine-scrollbar"
class "GtkVScrollbar"  				style "murrine-vscrollbar"
class "GtkHScrollbar"  				style "murrine-hscrollbar"
class "GtkMenuBar"   style:highest "murrine-menubar"
class "*HandleBox" style "murrine-toolbar"
widget_class "*HandleBox" style "murrine-toolbar"

# General matching following, the order is choosen so that the right styles override each other
# eg. progressbar needs to be more important then the menu match.

# This is not perfect, it could be done better
# (That is modify *every* widget in the notebook, and change those back that
# we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook"
widget_class "*<GtkNotebook>*<GtkLabel>"  style "murrine-notebook"

widget_class "*<GtkButton>"      		style "pixmap-button"
widget_class "*<GtkNotebook>"    		style "murrine-notebook"
widget_class "*<GtkStatusbar>*"  		style "aurora-statusbar"

widget_class "*<GtkNotebook>*"    		style "notebook-close"

widget_class "*<GtkComboBoxEntry>*"		style "aurora-comboboxentry"
widget_class "*<GtkCombo>*"         		style "aurora-comboboxentry"

widget_class "*<GtkMenuBar>*"           	style "murrine-menubar"
widget_class "*<GtkMenu>*"              	style "murrine-menu"
widget_class "*<GtkMenuItem>*"          	style "murrine-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" 	style "murrine-separator-menu-item"

widget_class "*.<GtkFrame>.<GtkLabel>" 		style "murrine-frame-title"
widget_class "*.<GtkTreeView>*"        		style "murrine-treeview"

widget_class "*<GtkProgressBar>"       		style "murrine-progressbar"

# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" 	style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"    	style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>"     	style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"    	style "murrine-treeview-header"

# Workarounds for Evolution
widget_class "*.ETable.ECanvas"    		style "murrine-treeview-header"
widget_class "*.ETree.ECanvas"    		style "murrine-treeview-header"
widget_class "*ToolButton*" style "smaller-text"
widget_class "*Statusbar*" style "smaller-text"

# The window of the tooltip is called "gtk-tooltip"
################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
################################
widget "gtk-tooltip*" 				style "murrine-tooltips"

###################################################
# Special cases and work arounds
###################################################

# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" 		style : highest "murrine-nautilus-location"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "murrine-combobox-text-color-workaround"
{
	text[NORMAL]      = @fg_color
	text[PRELIGHT]    = @fg_color
	text[SELECTED]    = @selected_fg_color
	text[ACTIVE]      = @fg_color
	text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"	style "murrine-combobox-text-color-workaround"

style "murrine-menuitem-text-is-fg-color-workaround"
{
	text[NORMAL]        = @fg_color
	text[PRELIGHT]      = @selected_fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}

widget "*.gtk-combobox-popup-menu.*"   			style "murrine-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "murrine-fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}

widget_class "*<GtkListItem>*" 				style "murrine-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.

widget_class "*<GtkCList>" 				style "murrine-fg-is-text-color-workaround"

############################################
# NAUTILUS
# Order of assignment is important
#############################################

widget_class "*Nautilus*Window*"                		style "nautilus-window-base"
widget_class "*Nautilus*Toolbar*"               		style "murrine-toolbar"
widget_class "*Nautilus*Toolbar*Button"      			style "aurora-button"
widget_class "*Nautilus*Menu*"               			style "murrine-menu"
widget_class "*Nautilus*Statusbar*"             		style "nautilus-statusbar"
widget "*Nautilus*Splitter"                     		style "nautilus-handle"
widget_class "*Nautilus*View*"					style "nautilus-view"
#widget_class "*NautilusSidePane.*"				style "nautilus-sidebar-title"
widget_class "*Nautilus*Places*Sidebar*"			style "nautilus-sidebar"
widget_class "*Nautilus*Side*.GtkWidget"			style "nautilus-sidebar"
widget_class "*Nautilus*Side*Title*"            		style "nautilus-sidebar-title"
widget_class "*Nautilus*Notebook"    				style "murrine-notebook"
widget_class "*Nautilus*Scrollbar"   				style "murrine-scrollbar"

#widget "*.nautilus-extra-view-widget*"				style:highest "elementary-dark"

##################################
# EOG
##################################
#widget_class "*Eog*Window*"					style "murrine-default"
widget_class "*Eog*Toolbar*"              			style "murrine-toolbar"
widget_class "*Eog*Menu*"               			style "murrine-menu"
widget_class "Eog*Statusbar*"                  			style "eog-statusbar"
widget "Eog*Statusbar*.*"                      			style "eog-statusbar"
widget_class "Eog*Scrollbar"           				style "murrine-scrollbar"

##################################
# F-SPOT
##################################

#widget	"main_window*ImageContainer"		style "elementary-dark"

##################################
# Panel
##################################
widget "*PanelWidget*"			style "elementary-panel"
widget "*PanelApplet*"			style "elementary-panel"
widget_class "*PanelToplevel*Button" 	style "elementary-panel"
widget_class "*Panel*GtkToggleButton" 	style "elementary-panel"
widget_class "*Xfce*Panel*Button*" 	style "elementary-panel"
widget_class "*Panel*GtkButton" 	style "elementary-panel"
widget_class "*.Panel*Button*GtkLabel" 	style "elementary-panel"
widget_class "*.Panel*GtkLabel" 	style "elementary-panel"
widget "*fast-user-switch*"		style "elementary-panel"
widget "PanelToplevel*PanelAppletFrame"	style "elementary-panel"
widget "PanelToplevel*PanelMenuBar"	style "elementary-panel"
widget "PanelToplevel*PanelWidget*"	style "elementary-panel"
widget "*GdmGreeterPanel*" 		style:highest "elementary-panel"

widget "*CPUFreq*Applet*"		style "elementary-panel"
widget "*indicator-applet*"		style "elementary-panel"
class "PanelApp*"			style "elementary-panel"
class "PanelToplevel*"			style "elementary-panel"
widget_class "*PanelToplevel*"		style "elementary-panel"
widget_class "*notif*"			style "elementary-panel"
widget_class "*Notif*"			style "elementary-panel"
widget_class "*Tray*"			style "elementary-panel" 
widget_class "*tray*"			style "elementary-panel"
widget_class "*computertemp*"		style "elementary-panel"
widget "*TomboyTray*"			style "elementary-panel"
widget_class "*Applet*Tomboy*"		style "elementary-panel"
widget_class "*Applet*Netstatus*"	style "elementary-panel"
widget_class "*Panel*<GtkMenuBar>*"     style:highest "murrine-menubar" # The panel menubar
# Fixes for tooltip text in some apps.
widget_class "*Notif*Beagle*"		style "elementary-panel-light"
widget_class "*Notif*Brasero*"		style "elementary-panel-light"

# XFCE panel theming.
widget_class "*notif*"			style "elementary-panel"
widget_class "*Notif*"			style "elementary-panel"
widget_class "*Tray*"			style "elementary-panel"
widget_class "*tray*"			style "elementary-panel"
widget "*Xfce*Panel*"			style "elementary-panel"
class "*Xfce*Panel*"			style "elementary-panel"

# Make sure panel text color doesn't change
#class "*Panel*MenuBar*"			style "elementary-main-menu-text"
widget_class "*Panel*MenuBar*"		style "elementary-main-menu-text"
#widget_class "*Panel*MenuBar*Item*" style:highest "elementary-main-menu-text"
widget_class "*Panel*<GtkMenuBar>*"	style "elementary-main-menu-text"
widget "*.clock-applet-button.*"	style "elementary-panel-text"
widget "*PanelApplet*"			style "elementary-panel"

#Fix textboxes on toolbars (memenu LP:#532843)
style "text-dark" = "murrine-default" 
{
}

##################################
# Midori
##################################
widget		"MidoriBrowser"							style "midori-main"
widget		"MidoriBrowser.GtkVBox.*.GtkEntry"				style "midori-entry"
widget		"MidoriBrowser.GtkVBox.GtkHPaned.GtkVPaned.GtkNotebook"		style "midori-notebook"
widget		"MidoriBrowser.*.MidoriPanel.*.GtkToolbar"			style "midori-panel-toolbar"
#widget		"MidoriBrowser*GtkStatusbar*"					style "nautilus-statusbar"

##################################
# Transmission
##################################
widget		"Transmission*"							style "transmission-main"

##################################
# Banshee
##################################

widget  "*gtksharp*Player*"					style "banshee-main"

##################################
# Totem
##################################

widget	"totem_*_window*"					style "totem-main"

widget_class "*<GeditNotebook>" style "murrine-notebook"

widget "*swt*toolbar*"	style "murrine-default"
class "TerminalScreen" style "terminal"
widget_class "*<GtkScrolledWindow>" style "murrine-scrolledwindow"
widget_class "*<GtkFrame>" style "murrine-gtkframe"
style "evo-new-button-workaround"
{

    engine "murrine"
    {
        toolbarstyle = 0
    }
}

widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo-new-button-workaround"
class	"GtkCalendar"		style "theme-calendar"

style "elementary-panel-handle" 
{
	engine "pixmap"
	{    
		image
		{
			function		= HANDLE
		}    
	}
}

# Hide ugly handle
class "PanelAppletFrame" 		style:highest "elementary-panel-handle"
#class "PanelToplevel"			style "elementary-panel-handle"
class "PanelToplevel" style:highest "elementary-panel-handle"

style "infobar" {
	engine "murrine" {
contrast=0.8
	}
}

class "GtkInfoBar" style "infobar"

# ==============================================================================
# FIREFOX SPECIFIC SETTINGS
# ==============================================================================

style "ff-default" {
	GtkCheckButton::indicator-size = 14
}

style	"ff-statusbar" {
}

#widget	"MozillaGtkWidget*Toolbar*"		style	"murrine-toolbar"
#widget	"MozillaGtkWidget*Statusbar*"	style	"aurora-statusbar"


widget	"MozillaGtkWidget*"	style	"ff-default"

# ------------------------------------------------------------------------------
# Some Firefox (3.0/3.5) GTK widgets hierarchy (maybe useful for someone)
# ------------------------------------------------------------------------------

# Top toolbars (and maybe others)
#widget	"MozillaGtkWidget.GtkFixed.GtkHandleBox.GtkToolbar"	style	"murrine-toolbar"

# Findbar entry, gecko (all html) entry
#widget	"MozillaGtkWidget.GtkFixed.GtkEntry"	style	"aurora-entry"

# ALL buttons
#widget	"MozillaGtkWidget.GtkFixed.GtkButton"	style	"aurora-button"

# ==============================================================================
# CHROMIUM SPECIFIC SETTINGS
# ==============================================================================

style "chromium_toolbar_button" {
	engine "aurora" {
		curvature = 3.0
	}
}

widget_class "*Chrom*Button*" style "chromium_toolbar_button"

# ==============================================================================
# NAUTILUS SPECIFIC SETTINGS
# ==============================================================================

style "nautilus_info_pane" {
	xthickness=0
	ythickness=0
	bg[NORMAL] = @bg_color
}

widget_class "*Nautilus*<GtkNotebook>*<GtkEventBox>" style "nautilus_info_pane"

style "nautilus_FM" {
	xthickness=0
	ythickness=0
	bg[NORMAL] = @bg_color
}
widget_class "*Nautilus*<FMIconView>" style "nautilus_FM"
widget_class "*Nautilus*<FMIconContainer>" style "nautilus_FM"
widget_class "*Nautilus*<FMListview>" style "nautilus_FM"

style "nautilus_GtkModeButton" {
	xthickness=0
	ythickness=0
	bg[NORMAL] = @bg_color
        #engine "murrine" {

                #border_colors            = { @bg_color, @bg_color}
                #roundness = 0
        #}
}

widget_class "*Nautilus*<GtkModeButton>" style "nautilus_GtkModeButton"

style "nautilus_GtkViewport" {
	xthickness=0
	ythickness=0
	bg[NORMAL] = @bg_color
}
widget_class "*Nautilus*<GtkViewport>" style "nautilus_GtkViewport"

# ==============================================================================
# SYNAPTIC SPECIFIC SETTINGS
# ==============================================================================

style "synaptic_radiobutton"
{
        bg[NORMAL]      = shade (1.2, @bg_color)
        bg[PRELIGHT]        = mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
        bg[ACTIVE]      = shade (0.80, @bg_color)
        bg[INSENSITIVE] = shade (1.055, @bg_color)
        
        engine "murrine" {
                border_shades       = { .8, .5} # draw a gradient on the border.
                border_colors            = { @bg_color, @bg_color}
                roundness = 3
                textstyle        = 1
                contrast        = 1.4
                reliefstyle        = 4
                lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
                lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
        }
}
widget_class "*window_main*<GtkRadioButton>" style "synaptic_radiobutton"
#synaptic buttons fix
widget "GtkWindow.GtkVBox.GtkHPaned.GtkVBox.GtkTable.GtkRadioButton"	style:highest "pixmap-button"

#Show smaller text in GlobalMenu applet

style "globalmenu-text" = "elementary-panel-text"
{
	font_name = "semibold 8"
}
widget "*GlobalMenuPanelApplet*"			style "globalmenu-text"

# A slightly different style for tasklist
#style "tasklist-button"
#{
#	xthickness = 3
#	ythickness = 3
#
#	bg[NORMAL]      = shade (1.15, @bg_color)
#	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
#	bg[ACTIVE]      = shade (0.80, @bg_color)
#	bg[INSENSITIVE] = shade (1.055, @bg_color)
#
#	GtkMenuItem::selected-shadow-type	= GTK_SHADOW_ETCHED_IN
#
#	engine "aurora" {
#		curvature	= 3.0
#		old_arrowstyle  = FALSE
#		animation       = TRUE
#	}
#}

style "tasklist-button"
{
	xthickness		= 3
	ythickness		= 3
	bg[ACTIVE] = shade (0.65, @selected_bg_color)	
	bg[NORMAL]      = @bg_color
	bg[PRELIGHT]	= mix(0.63, shade (1.11,@bg_color), shade (1.04,@selected_bg_color))
	bg[ACTIVE]      = shade (0.8, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)
	engine "murrine" {
		textstyle = 1
		roundness = 3
		contrast = 1.2
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = {darker (@bg_color), lighter (@bg_color)}
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
		gradient_shades     = {1.0,1.0,1.,1.3}
	}
}
#############################################################
#THESE DECLARATIONS MAKE SURE THE LAUNCHER EDITOR BUTTONS USE 
#STANDARD BUTTONS STYLE AND NOT PANEL BUTTONS STYLE
#############################################################

widget_class "*Tasklist*" style:highest "tasklist-button"
widget "*tasklist*" 			style "tasklist-button"
widget_class "*Xfce*Panel*.GtkToggleButton" 	style "tasklist-button"
widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "tasklist-button"
widget "*dockbarx*" 			style "tasklist-button"

#############################################################

style "pager"
{
xthickness = 3
ythickness = 3	

	engine "murrine" {
		textstyle = 1
		roundness = 3
		contrast = 1.2
		border_shades       = { .8, .5} # draw a gradient on the border.
		border_colors	    = {darker (@bg_color), lighter (@bg_color)}
		lightborder_shade   = 1.2   # sets lightborder amount for buttons or widgets
		lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all
	}
}

widget_class "*Pager*" style:highest "pager"

#Frames
style "frame"
{
	engine "aurora" {
	}
}
class "*Meta*Frame*" style "frame"
widget_class "*Meta*Frame*" style "frame"
widget "*Meta*Frame*" style "frame"
class "*xfwm*" style "frame"
widget_class "*xfwm*" style "frame"
widget "*xfwm*" style "frame"

style "iconview" {
	engine "murrine" {
		roundness = 6
		border_shades = {1.16, 1.0}
		glow_shade = 1.1
		glowstyle = 5
	}
}
class "GtkIconView" style "iconview"

#####Chrome/ium

widget "GtkWindow.chrome-custom-frame-border.*.chrome-toolbar"		style "aurora-toolbar"
widget "GtkWindow.chrome-custom-frame-border.*.chrome-find-in-page-entry"	style "aurora-entry"
widget_class "GtkEntry"								style "aurora-entry"
widget "GtkWindow.chrome-custom-frame-border.*GtkExpandedContainer.GtkEventBox.GtkVBox.GtkEventBox"
